package com.zjsd.sqeybusiness.mapper;

import java.util.List;
import com.zjsd.sqeybusiness.domain.Tcinfo;
import org.springframework.stereotype.Repository;

/**
 * 套餐信息Mapper接口
 *
 * @author Zheng
 * @date 2022-05-10
 */
@Repository
public interface TcinfoMapper
{
    /**
     * 查询套餐信息
     *
     * @param tcid 套餐信息ID
     * @return 套餐信息
     */
    public Tcinfo selectTcinfoById(Long tcid);

    /**
     * 查询套餐信息列表
     *
     * @param tcinfo 套餐信息
     * @return 套餐信息集合
     */
    public List<Tcinfo> selectTcinfoList(Tcinfo tcinfo);

    /**
     * 新增套餐信息
     *
     * @param tcinfo 套餐信息
     * @return 结果
     */
    public int insertTcinfo(Tcinfo tcinfo);

    /**
     * 修改套餐信息
     *
     * @param tcinfo 套餐信息
     * @return 结果
     */
    public int updateTcinfo(Tcinfo tcinfo);

    /**
     * 删除套餐信息
     *
     * @param tcid 套餐信息ID
     * @return 结果
     */
    public int deleteTcinfoById(Long tcid);

    /**
     * 批量删除套餐信息
     *
     * @param tcids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTcinfoByIds(Long[] tcids);
}
